/**
 * API接口配置文件
 */
module.exports = {
	home : {
		SeckillGoods:"home/getSeckillGoodsList", 
		MallGoodsByClass:"home/getMallGoodsByClass", 
		getGoodsClass:"home/getGoodsClass", 
		getCartList:"home/getCartList", 
		getSearchTags:"search/getSearchTags", 
	},
	goods:{
		getGoodsDetail:"goods/getGoodsDetail", 
		getFilterList:"filter/getFilterList", 
	},
	// login:{
	// 	login:"login/login", 
	// },
	// user:{
	// 	getAddressList:"address/getAddressList", 
	// 	getCouponList:"coupon/getCouponList", 
		
	// },
	// -------------------------------新接口-------------------------------
	index:{
		indexAll:"/api/index/getpage",//首页所有接口统一一个接口
		getMerchGood:"/api/merch/index/getMerchGood"//首页新增扶贫农特
	},
	prodect:{
		getGoodsDetail:"/api/sms_store/index/getGoodsDetail",//商品详情接口
		getGoodsComment:"/api/sms_store/index/getGoodsComment",//商品详情评论
		getSubGoodsCate:"/api/sms_store/index/getSubGoodsCate",//商品分类
		getGoodList:"/api/sms_store/index/getGoodList",//商品列表
		addToCart:"/api/sms_store/member/addToCart",//加入购物车
		removeCart:"/api/sms_store/member/removeCart",//删除购物车
		myCart:"/api/sms_store/member/myCart",//购物车列表
		updateCart:"/api/sms_store/member/updateCart"//更新购物车（购物车物品加减时候使用）
	},
	order:{
		getAddressList:"/api/sms_store/member/getAddressList",//获取地址
		caculate:"/api/sms_store/order/caculate",//获取订单数据
		create:"/api/sms_store/order/create",//商品下单
		payInfo:"/api/sms_store/order/payInfo",//去支付
		getOrderList:"/api/sms_store/order/getOrderList",//我的订单
		cancel:"/api/sms_store/order/cancel",//取消订单
		confirm:"/api/sms_store/order/confirm", //确认收货
		detele: "/api/sms_store/order/detele", //删除订单
		pay:"/api/sms_store/order/pay", //订单支付
		orderDetail:"/api/sms_store/order/getOrderDetail", //订单详情
		orderComment:"/api/sms_store/order/comment", //订单评价
		expressQuery: "/api/sms_store/order/expressQuery", //物流查询
	},
	address: {
		addressList:"/api/sms_store/member/getAddressList", // 收货地址列表
		modifyAddress:"/api/sms_store/member/modifyAddress", // 添加/更新收货地址
		deteleAddress:"/api/sms_store/member/deteleAddress", // 删除收货地址
		getAddress:"/api/sms_store/member/getAddress", // 地址详情
		setAddress:"/api/sms_store/member/setAddressDefault", // 设置默认地址
		editreceiving:"groups/order/editreceiving", // 修改拼团收货地址
		edit:"creditshop/order/editreceiving", // 修改签到弘豆收货地址
	},
	login: {
		login:"/api/login", // 登录
		info:"/api/info", // logo
		wxlogin:"/api/wxapplogin", // 微信登录
		register:"/api/register", // 注册
		code:"/api/code", // 获取验证码
		bind:"/api/bind", // 绑定手机号
		forgetPwd:"/api/forgetPwd", //修改密码
		account:"/api/random" //获取账号
	},
	userNews:{
		upload:"/api/member/index/upload", // 上传图片
		info:"/api/member/index/info",//获取个人信息
		getOrderCount:"/api/sms_store/order/getOrderCount"
	},
	myShop: {
		getCategory:"/api/merch/reg/getCategory", //获取分类
		getWxConfig:"/api/getSignPackage", //获取公众号配置
		getRegContent:"/api/merch/reg/getRegContent", //获取入驻协议
		applyInto:"/api/merch/reg/improveInformation", //商户申请
		getGoodList:"/api/sms_store/index/getGoodList", //获取商品列表
		getMerchInfo:"/api/merch/index/getMerchInfo", //商家详情
		getApplyInfo:"/api/merch/reg/getMerchRegStep", //获取入驻申请信息
		getMerchList:"/api/merch/index/getMerchList", //获取商家列表
	},
	// 优惠券
	discount: {
		getMyCouponList:"/api/store_marketing/index/getMyCouponList", //我的优惠券列表
		receiveCoupon:"/api/store_marketing/index/receiveCoupon", //领取优惠券
		getMyCode:"/api/member/index/getMyCode",//枝叶码
		getMerchCode:"/api/member/index/getMerchCode"//花果码
	},
	user: {
		info: "/api/member/index/info", // 会员信息接口
		updateInfo:"/api/member/index/updateUserInfo", // 更新会员信息
		bindMobile:"/api/member/index/bindMobile", // 绑定手机号
		apiChangePassword:"/api/member/Index/apiChangePassword",//修改交易密码
		give: "/api/member/Index/Give",//转让签到弘豆
		withdrawal: "/api/member/Index/apiBalanceWithdrawal",//优惠弘豆一键提现
		myCredit:"/api/member/index/myCreditList", // 我的明细
		withdraw:"/api/member/index/withdraw", // 提现记录
		withdrawalLog: "/api/member/index/withdrawalLog", //提现明细
		withdrawalSet: "/api/member/Index/WithdrawalSet", //手续费
		upload: "/api/member/index/upload", // 上传图片
		getMyTeam:"/api/member/index/getMyTeam",//花果
		getMerchTeam:"/api/member/index/getMerchTeam",//枝叶
		getBanner:"/api/creditshop/home/info", //轮播图
	},
	points:{
		signList: "/api/creditshop/home/sign_list", //签到弘豆签到列表
		set: "/api/creditshop/home/set", //规则
		orderConfirm: "/api/creditshop/order/orderConfirm", // 确认收货
		refund: "/api/sms_store/order/refund", //申请退货
		list: "/api/creditshop/order/list", //订单列表
		cancel: "/api/creditshop/order/cancel", // 取消订单
		remove: "/api/creditshop/order/remove", // 删除订单
		getGoodList: "/api/creditshop/goods/list", //商品列表
		getGoodsDetail: "/api/creditshop/goods/goodsInfo", //商品详情
		teaming: "/api/groups/goods/teaming", // 正在进行中的团
		confirmDetail: "/api/creditshop/order/confirmDetail", //订单数据确认
		confirm: "/api/creditshop/order/confirm", //确认订单
		orderDetail: "/api/creditshop/order/orderDetail", //订单详情
	},
	wx:{
		wxLogin:"/api/wxlogin"
	},
	company:{
		apiWelfare:"/api/enterprise/home/apiWelfare",//赠送福利记录
		apiArticle:"/api/enterprise/home/apiArticle",//已发布推文详细内容
		apiNotice:"/api/enterprise/home/apiNotice",//已发布公告详细内容
		apiIndex:"/api/enterprise/home/apiIndex",//已发布企业入口
	}
}